package com.xbongbong.admin.model;

import com.xbongbong.admin.domain.entity.MirrorConfigEntity;
import com.xbongbong.paas.toolbox.wrap.IModel;

import java.util.List;
import java.util.Map;

/**
 * 镜像配置
 * @author xingxing.xiao
 * @date 2020/01/09 14:53
 */
public interface MirrorConfigModel extends IModel<MirrorConfigEntity> {

    @Override
    List<MirrorConfigEntity> findEntitys(Map<String, Object> param);

    /**
     * 查询实体
     * @param key 主键id
     * @author xingxing.xiao
     * @date 2020/01/14 11:21
     */
    MirrorConfigEntity getByKey(Long key);

    /**
     * 批量更新
     * @param appInstallEntityList
     * @return
     */
    Integer updateBatch(List<MirrorConfigEntity> appInstallEntityList);
}
